package com.tedu.day02.test;
class China{}
public String city;
public String county;
public boolen equals(Object o){
    China china=(China) o;
   boolean this.city.equals(china.city);
}
public class 对象对比 {
    public static void main(String[] args){
        China c1=new China();
        System.out.println(c1.toString());
        China c2=new China();
        System.out.println(c2.toString());
        System.out.println(c1.equals(c2));
    }
}
